package edu.kjxy.demo0408;

public class Car {
	String cno;		//车牌号
	String brand;	//品牌
	int price;
	
	public Car() {	}
	
	public Car(String cno, String brand, int price) {
		this.cno = cno;
		this.brand = brand;
		this.price = price;
	}
	
	public void dirve(String dest) {
		System.out.println(cno + "开往" + dest);
	}
}
